package com.weharvest.edu.service.Impl;

import com.weharvest.edu.dto.OrganizationDTO;
import com.weharvest.edu.enums.ResultEnum;
import com.weharvest.edu.exception.EduException;
import com.weharvest.edu.service.OrganizationService;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;


@Service
public class OrganizationServiceImpl implements OrganizationService {

    @Override
    public Map<String, Object> find(HttpServletRequest request, HttpServletResponse response, OrganizationDTO dto) {
        if (dto == null) {
            throw new EduException(ResultEnum.BACKSTAGEUSER_ADD_FAIL);
        }
        //组织管理

        return null;
    }
}
